package com.object.module.lq.chatroom.service.impl;

import java.util.Map;

import com.object.module.lq.chatroom.entity.TChatHistory;
import com.object.dao.chatroom.TChatHistoryMapper;
import com.object.module.lq.chatroom.service.TChatHistoryService;
import com.object.utils.MyQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.object.utils.Q;
import org.springframework.stereotype.Service;


/**
* 聊天记录
*
**/
@Service
public class TChatHistoryServiceImpl extends ServiceImpl<TChatHistoryMapper, TChatHistory> implements TChatHistoryService
{
@Override
public Q listPage(Map<String, Object> params)
    {
        MyQueryWrapper<TChatHistory> wrapper = new MyQueryWrapper<>(params, TChatHistory.class);
        QueryWrapper<TChatHistory> queryWrapper = wrapper.ConstructQuery();
        return wrapper.pageResponse(this, queryWrapper);
        }
}
